package com.iterator.bean.wechat.dhy;

import com.iterator.bean.web.pojo.tcy.Ad;
import lombok.Data;

import java.util.List;

/**
 * @Author: DHY
 * @Date: 2021/1/12 18:41
 * @Description:
 */
@Data
public class IndexVO {
    private List<NewGoodsListBean> newGoodsList;
    private List<CouponListBean> couponList;
    private List<ChannelBean> channel;
    private List<GrouponListBean> grouponList;
    private List<Ad> banner;
    private List<BrandListBean> brandList;
    private List<HotGoodsListBean> hotGoodsList;
    private List<TopicListBean> topicList;
    private List<FloorGoodsListBean> floorGoodsList;


    @Data
    public static class NewGoodsListBean {
        private int id;
        private String name;
        private String brief;
        private String picUrl;
        private boolean isNew;
        private boolean isHot;
        private int counterPrice;
        private int retailPrice;
    }

    @Data
    public static class CouponListBean {
        private int id;
        private String name;
        private String desc;
        private String tag;
        private int discount;
        private int min;
        private int days;
    }

    @Data
    public static class ChannelBean {
        private int id;
        private String name;
        private String iconUrl;
    }

    @Data
    public static class GrouponListBean {
        private int groupon_price;
        private GoodsBean goods;
        private int groupon_member;

        @Data
        public static class GoodsBean {
            private int id;
            private String name;
            private String brief;
            private String picUrl;
            private int counterPrice;
            private int retailPrice;
        }
    }



    @Data
    public static class BrandListBean {


        private int id;
        private String name;
        private String desc;
        private String picUrl;
        private int floorPrice;
    }

    @Data
    public static class HotGoodsListBean {


        private int id;
        private String name;
        private String brief;
        private String picUrl;
        private boolean isNew;
        private boolean isHot;
        private int counterPrice;
        private int retailPrice;
    }

    @Data
    public static class TopicListBean {


        private int id;
        private String title;
        private String subtitle;
        private int price;
        private String readCount;
        private String picUrl;
    }

    @Data
    public static class FloorGoodsListBean {

        private String name;
        private int id;
        private List<GoodsListBean> goodsList;

        @Data
        public static class GoodsListBean {
            private int id;
            private String name;
            private String brief;
            private String picUrl;
            private boolean isNew;
            private boolean isHot;
            private int counterPrice;
            private int retailPrice;
        }
    }
}
